#ifndef Filler_First
#define Filler_First
#ifdef __GNUG__
#pragma interface
#endif

#include "VObject.h"

//---- Filler ------------------------------------------------------------------

class Filler : public VObject {
protected:
	Point minsize;
	Ink *ink;
public:
	MetaDef(Filler);
	Filler(const Point &extent, int flags= 0);
	Filler(const Point &extent, Ink *i, int flags= 0);
	Ink *SetInk(Ink *i, bool redraw= TRUE);
	Ink *GetInk()
		{ return ink; }
	Metric GetMinSize();
	void Draw(Rectangle);
	OStream &PrintOn(OStream&);
	IStream &ReadFrom(IStream&);
};

#endif

